package com.xidian.zhiancloud.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 *  健康上报
 * @author qzg
 */
public class HealthReport {
    /**
     *   id
     */
    private Long id;

    /**
     *   多租户id
     */
    private Long companyId;

    /**
     *   人员名字
     */
    private String name;

    /**
     *   上报时间
     */
    private Date reportingTime;

    /**
     *   联系方式
     */
    private String contactNumber;

    /**
     *   户籍所在地
     */
    private String householdRegister;

    /**
     *   在所在地状态
     */
    private String posState;

    /**
     *   是否上班 0:未上班 1:单位办公
     */
    private Byte isWork;

    /**
     *   是否被隔离 0:尚未隔离 1:居家隔离
     */
    private Byte isIsolation;

    /**
     *   是否已感染 0:未感染  1:已感染
     */
    private Byte isInfected;

    /**
     *   体温
     */
    private BigDecimal temperature;

    /**
     *   当前地点
     */
    private String currentPos;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_health_report
     *
     * @mbg.generated
     */
    public HealthReport(Long id, Long companyId, String name, Date reportingTime, String contactNumber, String householdRegister, String posState, Byte isWork, Byte isIsolation, Byte isInfected, BigDecimal temperature, String currentPos) {
        this.id = id;
        this.companyId = companyId;
        this.name = name;
        this.reportingTime = reportingTime;
        this.contactNumber = contactNumber;
        this.householdRegister = householdRegister;
        this.posState = posState;
        this.isWork = isWork;
        this.isIsolation = isIsolation;
        this.isInfected = isInfected;
        this.temperature = temperature;
        this.currentPos = currentPos;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_health_report
     *
     * @mbg.generated
     */
    public HealthReport() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.id
     *
     * @return the value of t_health_report.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.id
     *
     * @param id the value for t_health_report.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.company_id
     *
     * @return the value of t_health_report.company_id
     *
     * @mbg.generated
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.company_id
     *
     * @param companyId the value for t_health_report.company_id
     *
     * @mbg.generated
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.name
     *
     * @return the value of t_health_report.name
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.name
     *
     * @param name the value for t_health_report.name
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.reporting_time
     *
     * @return the value of t_health_report.reporting_time
     *
     * @mbg.generated
     */
    public Date getReportingTime() {
        return reportingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.reporting_time
     *
     * @param reportingTime the value for t_health_report.reporting_time
     *
     * @mbg.generated
     */
    public void setReportingTime(Date reportingTime) {
        this.reportingTime = reportingTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.contact_number
     *
     * @return the value of t_health_report.contact_number
     *
     * @mbg.generated
     */
    public String getContactNumber() {
        return contactNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.contact_number
     *
     * @param contactNumber the value for t_health_report.contact_number
     *
     * @mbg.generated
     */
    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber == null ? null : contactNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.household_register
     *
     * @return the value of t_health_report.household_register
     *
     * @mbg.generated
     */
    public String getHouseholdRegister() {
        return householdRegister;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.household_register
     *
     * @param householdRegister the value for t_health_report.household_register
     *
     * @mbg.generated
     */
    public void setHouseholdRegister(String householdRegister) {
        this.householdRegister = householdRegister == null ? null : householdRegister.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.pos_state
     *
     * @return the value of t_health_report.pos_state
     *
     * @mbg.generated
     */
    public String getPosState() {
        return posState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.pos_state
     *
     * @param posState the value for t_health_report.pos_state
     *
     * @mbg.generated
     */
    public void setPosState(String posState) {
        this.posState = posState == null ? null : posState.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.is_work
     *
     * @return the value of t_health_report.is_work
     *
     * @mbg.generated
     */
    public Byte getIsWork() {
        return isWork;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.is_work
     *
     * @param isWork the value for t_health_report.is_work
     *
     * @mbg.generated
     */
    public void setIsWork(Byte isWork) {
        this.isWork = isWork;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.is_isolation
     *
     * @return the value of t_health_report.is_isolation
     *
     * @mbg.generated
     */
    public Byte getIsIsolation() {
        return isIsolation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.is_isolation
     *
     * @param isIsolation the value for t_health_report.is_isolation
     *
     * @mbg.generated
     */
    public void setIsIsolation(Byte isIsolation) {
        this.isIsolation = isIsolation;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.is_infected
     *
     * @return the value of t_health_report.is_infected
     *
     * @mbg.generated
     */
    public Byte getIsInfected() {
        return isInfected;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.is_infected
     *
     * @param isInfected the value for t_health_report.is_infected
     *
     * @mbg.generated
     */
    public void setIsInfected(Byte isInfected) {
        this.isInfected = isInfected;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.temperature
     *
     * @return the value of t_health_report.temperature
     *
     * @mbg.generated
     */
    public BigDecimal getTemperature() {
        return temperature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.temperature
     *
     * @param temperature the value for t_health_report.temperature
     *
     * @mbg.generated
     */
    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_health_report.current_pos
     *
     * @return the value of t_health_report.current_pos
     *
     * @mbg.generated
     */
    public String getCurrentPos() {
        return currentPos;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_health_report.current_pos
     *
     * @param currentPos the value for t_health_report.current_pos
     *
     * @mbg.generated
     */
    public void setCurrentPos(String currentPos) {
        this.currentPos = currentPos == null ? null : currentPos.trim();
    }
}